package com.zbkj.crmeb.merchant.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.merchant.api.response.MerchantOrderTimeResponse;
import com.zbkj.crmeb.store.model.CustomShare;


/**
* @author Mr.Zhang
* @Description IndexService 接口
* @since 2020-04-13
*/
public interface CustomShareService extends IService<CustomShare> {

    /**
     * 获取商家订单时效
     * @param merId
     * @return com.zbkj.crmeb.merchant.api.response.MerchantOrderTimeResponse
     */
    MerchantOrderTimeResponse getOrderTime(Integer merId);


    /**
     * 修改商家订单时效
     * @param orderTime 普通订单时效
     * @param activityOrderTime 活动订单时效
     * @param merId
     * @return java.lang.Boolean
     */
    Boolean updOrderTime(Integer orderTime,Integer activityOrderTime, Integer merId);


}